using System.Collections;

namespace ntools.NetduinoGo.PlusModule.NetduinoGo.Framework
{
    public class Directory
    {
        public static void CreateDirectory(string path)
        {
            Plus.Link.Call(Link.INSTANCE_DIRECTORY, Link.COMMAND_DIRECTORY_CREATE, System.Text.Encoding.UTF8.GetBytes(path));
        }

        public static IEnumerable EnumerateFiles(string path)
        {
            return new FileEnumerable(path);
        }
    }
}
